package com.atguigu.spzx.product.mapper;

import com.atguigu.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper {
    Product selectProductById(Long productId);

    int updateStock(@Param("skuId") Long skuId,@Param("skuNum") Integer skuNum);

}
